package com.lh_travel.lohas.utils;

import android.content.Context;
import android.widget.ImageView;

import com.lh_travel.lohas.R;
import com.squareup.picasso.Picasso;
import com.youth.banner.loader.ImageLoader;

/**
 * Created by aaron on 2018/6/28.
 */

public class FloImageLoader extends ImageLoader{
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {

        Picasso.with(context).load((String) path).placeholder(R.drawable.default_bg640x480).fit().centerCrop().into(imageView);

    }
}
